package net.jsoft.platform.core.repository.core.param;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Component;

import net.jsoft.platform.core.entity.core.param.CoreParam;

@Component
public interface ParamsRepository extends JpaRepository<CoreParam, Long>
{
    @Query("from CoreParam u where u.name=:name")
    CoreParam selectParams(@Param(value = "name") String name);

}
